package com.fpt.group3.dao;

import java.util.List;

import com.fpt.group3.form.Country;
import com.fpt.group3.service.exception.SystemException;

/**
 * interface for contryDAO.
 * @author John Tran
 *
 */
public interface CountryDAO {

    /**
     * list country.
     * @return list country
     * @throws SystemException throws ex
     */
    List<Country> listCountry() throws SystemException;

    /**
     * get countryID.
     * @param reName countryName
     * @return countryID
     * @throws SystemException throws ex
     */
    int getCountryIdByName(String reName) throws SystemException;
}
